<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/tags.jspf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<template:header context="${context}" title="Redmine"/>
</head>
<body class="controller-account action-login">
	<template:content context="${context}" session="${session}">
		<div id="login-form">
			<form:form commandName="login" accept-charset="UTF-8" action="${context}/account/login" method="post">
				<div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="IPGq6DbOJc3sFrqg9Ir6dKEV6kBpmeUbs3FF2+nvs+Y=" /></div>
				<table>
				<tr>
				    <td align="right"><label for="username">Login:</label></td>
				    <td align="left"><form:input path="username" tabindex="1" value="muchine" /></td>
				</tr>
				<tr>
				    <td align="right"><label for="password">Password:</label></td>
				    <td align="left"><form:password path="password" tabindex="2" value="welcome1" /></td>
				</tr>
				<tr>
				    <td></td>
				    <td align="left">
				    </td>
				</tr>
				<tr>
				    <td align="left"><a href="${context}/account/lost_password">Lost password</a></td>
				    <td align="right"><input type="submit" name="login" value="Login &#187;" tabindex="5"/></td>
				</tr>
				</table>
				<script type="text/javascript">
				//<![CDATA[
				Form.Element.focus('username');
				//]]>
				</script>
				
				<form:hidden path="backUrl"/>
			</form:form>
		</div>
	    <div style="clear:both;"></div>
	</template:content>
</body>
</html>